
<div style="clear: both;">
    <?php echo CHtml::beginForm('', 'post', array('id' => 'yuandot_hiscaler', 'class' => 'dot_form fw_60', 'enctype'=>'multipart/form-data')); ?>
    <fieldset>
        <legend><?php echo Yii::t('common', 'please_fill_table_contents'); ?></legend>
        <dl>
            <dt><?php echo CHtml::activeLabelEx($model, 'type'); ?></dt>
            <dd><?php echo CHtml::activeDropDownList($model, 'type', UserGroup::model()->typeOptions); ?>

            <dt><?php echo CHtml::activeLabelEx($model, 'name'); ?></dt>
            <dd>
                <div>
                <?php
                echo CHtml::activeTextField($model, 'name', array(
                    'maxlength' => 60,
                    'class' => 'small',
                    ));
                ?>
                </div>
                <div><?php echo CHtml::error($model, 'name'); ?></div>
            </dd>

            <dt><?php echo CHtml::activeLabelEx($model, 'default_inteqral_value'); ?></dt>
            <dd>
                <div>
                <?php
                echo CHtml::activeTextField($model, 'default_inteqral_value', array(
                    'maxlength' => 5,
                    'class' => 'small',
                    ));
                ?>
                </div>
                <div><?php echo CHtml::error($model, 'default_inteqral_value'); ?></div>
            </dd>

            <dt><?php echo CHtml::activeLabelEx($model, 'default_gold_coin_value'); ?></dt>
            <dd>
                <div>
                <?php
                echo CHtml::activeTextField($model, 'default_gold_coin_value', array(
                    'maxlength' => 5,
                    'class' => 'small',
                    ));
                ?>
                </div>
                <div><?php echo CHtml::error($model, 'default_gold_coin_value'); ?></div>
            </dd>

            <dt><?php echo CHtml::activeLabelEx($model, 'status'); ?></dt>
            <dd><?php echo CHtml::activeDropDownList($model, 'status', UserGroup::model()->statusOptions); ?>

            <dt></dt>
            <dd>
                <?php
                echo CHtml::submitButton(!$model->isNewRecord
                    ? Yii::t('common', 'update') : Yii::t('common', 'save'), array(
                    'class' => 'btn'
                    ));
                ?>
            </dd>
        </dl>
    </fieldset>
    <?php echo CHtml::endForm(); ?>
</div>